.class public Lcom/waiqin365/lightapp/kehu/view/CMCustomView;
.super Landroid/widget/LinearLayout;


# instance fields
.field private a:Lcom/waiqin365/compons/view/e;

.field protected j:Ljava/lang/String;

.field protected k:Ljava/lang/String;

.field protected l:Ljava/lang/String;

.field protected m:Ljava/lang/String;

.field public final n:Ljava/lang/String;

.field public o:Z

.field protected p:Z

.field public q:Ljava/lang/String;

.field public r:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->l:Ljava/lang/String;

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->n:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->o:Z

    const-string/jumbo v0, "/app/user_defined/impl/gaea/h5/describe-template.html?code="

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->r:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/CMCustomView;)Lcom/waiqin365/compons/view/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    return-object v0
.end method


# virtual methods
.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->p:Z

    return-void
.end method

.method public b()Ljava/lang/String;
    .locals 1

    const-string/jumbo v0, ""

    return-object v0
.end method

.method public c()Ljava/lang/CharSequence;
    .locals 1

    const-string/jumbo v0, ""

    return-object v0
.end method

.method public c_()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 1

    const-string/jumbo v0, ""

    return-object v0
.end method

.method public j()V
    .locals 6

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->p:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->q:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->r:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightapp/cockpit/CockpitMainActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->c()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    const-string/jumbo v1, "openurl"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->q:Ljava/lang/String;

    invoke-static {v2}, Lorg/apache/cordova/util/Util;->addLanguageFormatForUrl(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/compons/view/e;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f0800c2

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, ""

    sget v4, Lcom/waiqin365/compons/view/e;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/view/o;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/kehu/view/o;-><init>(Lcom/waiqin365/lightapp/kehu/view/CMCustomView;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/e;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/f;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/e;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getContext()Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f0807c5

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/e;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/e;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a:Lcom/waiqin365/compons/view/e;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/e;->show()V

    goto :goto_0
.end method

.method public k()Z
    .locals 2

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public l()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m:Ljava/lang/String;

    return-object v0
.end method

.method public m()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->k:Ljava/lang/String;

    return-object v0
.end method

.method public n()V
    .locals 0

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 0

    return-void
.end method

.method public setCacheId(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m:Ljava/lang/String;

    return-void
.end method

.method public setCode(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->k:Ljava/lang/String;

    return-void
.end method

.method public setDescription(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->q:Ljava/lang/String;

    return-void
.end method

.method public setDisplayValue(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public setEdit(Z)V
    .locals 0

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 0

    return-void
.end method

.method public setMaxlen(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->j:Ljava/lang/String;

    return-void
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public setViewIgnore(Z)V
    .locals 0

    return-void
.end method
